package admin

import (
	auto "beergo/app/hr/auto/controller"
	"beergo/app/hr/conf"
	"github.com/beego/beego/v2/server/web"
)

type CategoryAdminController struct {
	auto.CategoryController
}

func init() {
	web.Router(conf.UrlPrefixAdmin + "/Category/:id", 		&CategoryAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefixAdmin + "/Category/info", 		&CategoryAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefixAdmin + "/Category/scan", 		&CategoryAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefixAdmin + "/Category/list", 	    &CategoryAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefixAdmin + "/Category/update", 	&CategoryAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefixAdmin + "/Category/create", 	&CategoryAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefixAdmin + "/Category/copy", 	    &CategoryAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefixAdmin + "/Category/edit", 	    &CategoryAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefixAdmin + "/Category/delete", 	&CategoryAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefixAdmin + "/Category/:id/:field", &CategoryAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefixAdmin + "/Category/choice", &CategoryAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefixAdmin + "/Category/category", &CategoryAdminController{}, "*:CategoryAction")
}
//func (this *CategoryAdminController) Prepare() {}
//func (this *CategoryAdminController) ListAction() {}
//func (this *CategoryAdminController) GetAction() {}
//func (this *CategoryAdminController) InfoAction() {}
//func (this *CategoryAdminController) ScanAction() {}
//func (this *CategoryAdminController) CreateAction() {}
//func (this *CategoryAdminController) UpdateAction() {}
//func (this *CategoryAdminController) CopyAction() {}
//func (this *CategoryAdminController) DeleteAction() {}
//func (this *CategoryAdminController) EditAction() {}
//func (this *CategoryAdminController) SonsAction() {}
//func (this *CategoryAdminController) ChoiceAction() {}
//func (this *CategoryAdminController) CategoryAction() {}
